#pragma once
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Weverything"
#pragma clang diagnostic warning "-Wextra"
#pragma clang diagnostic warning "-Wall"
#include "taihe/common.hpp"
#include "player.abi.h"
#include "taihe/callback.hpp"
#define TH_EXPORT_CPP_API_playNative(CPP_FUNC_IMPL) \
    void player_playNative_f(int32_t inputFileFd, int64_t inputFileOffset, int64_t inputFileSize, struct TCallback cbFn) { \
        return CPP_FUNC_IMPL(::taihe::from_abi<int32_t>(inputFileFd), ::taihe::from_abi<int64_t>(inputFileOffset), ::taihe::from_abi<int64_t>(inputFileSize), ::taihe::from_abi<::taihe::callback_view<void()>>(cbFn)); \
    }
#pragma clang diagnostic pop
